package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialPayRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialPayPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialPayDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialPayDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialPayDomainImpl extends BaseDomainImpl<ContractInitialPayDto, ContractInitialPayPo> implements ContractInitialPayDomain {

    @Resource
    private ContractInitialPayRepository contractInitialPayRepository;

    @Override
    public BaseRepository<ContractInitialPayPo> getMapper() {
        return contractInitialPayRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialPayPo>> getRepositoryClass() {
        return ContractInitialPayRepository.class;
    }

}
